Skip to content

Conversation

@KillerCodeMonkey
Copy link
Contributor

@KillerCodeMonkey KillerCodeMonkey commented Jan 13, 2026

Reflect readonly and disabled properties at ion-textarea host element.

Issue number: resolves #30911


What is the current behavior?

When setting readonly or disabled those settings are only reflected deep inside the ion-textarea component at the native textarea element.

Since there is no predefined readonly class it is hard to select readonly/disabled ion-textareas.

What is the new behavior?

Readonly and disabled props are reflected at ion-textarea host element.
Like they are for ion-inputs.
So it is consistent and will be helpful for easy element selection of disabled/readonly textareas (css, querySelector).

Does this introduce a breaking change?

  • Yes
  • No

Other information

  • /

To be consistent with ion-input and could be useful for styling purposes, since there is no "readonly" css class
@KillerCodeMonkey KillerCodeMonkey requested a review from a team as a code owner January 13, 2026 09:24
@vercel
Copy link

vercel bot commented Jan 13, 2026

@KillerCodeMonkey is attempting to deploy a commit to the Ionic Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the package: core @ionic/core package label Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: reflect readonly/disabled at ion-textarea

1 participant